<template>
	<view>
		<!-- 顶部导航 -->
		<fa-navbar title="证书" ref="navbar"></fa-navbar>
		<view class="content">
			<view class="certlist">
				<view class="items" v-for="(item,index) in certList">
					<view class="left">
						<u-image width="250" radius="10" height="188"></u-image>
					</view>
					<view class="right">
						<view class="title">{{item.title}}</view>
						<view class="xx">
							<text>颁发机构：{{item.bfjg}}</text>
							<text>颁发日期：{{item.bfrq}}</text>
							<text>有效期:{{item.zsyxq}}</text>
						</view>
					</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				certList:[{
					title:'电气自动化设备安装与维修',
					bfjg:"云南人社区",
					bfrq:"2025-03-06",
					zsyxq:'2028-12-29'
				},{
					title:'电气自动化设备安装与维修',
					bfjg:"云南人社区",
					bfrq:"2025-03-06",
					zsyxq:'2028-12-29'
				},{
					title:'电气自动化设备安装与维修',
					bfjg:"云南人社区",
					bfrq:"2025-03-06",
					zsyxq:'2028-12-29'
				},{
					title:'电气自动化设备安装与维修',
					bfjg:"云南人社区",
					bfrq:"2025-03-06",
					zsyxq:'2028-12-29'
				},{
					title:'电气自动化设备安装与维修',
					bfjg:"云南人社区",
					bfrq:"2025-03-06",
					zsyxq:'2028-12-29'
				},{
					title:'电气自动化设备安装与维修',
					bfjg:"云南人社区",
					bfrq:"2025-03-06",
					zsyxq:'2028-12-29'
				},{
					title:'电气自动化设备安装与维修',
					bfjg:"云南人社区",
					bfrq:"2025-03-06",
					zsyxq:'2028-12-29'
				},{
					title:'电气自动化设备安装与维修',
					bfjg:"云南人社区",
					bfrq:"2025-03-06",
					zsyxq:'2028-12-29'
				}],
			};
		}
	}
</script>

<style lang="scss" scoped>
	.content{
		padding: 188rpx 24rpx 0 24rpx;
		.certlist{
			.items{
				display: flex;
				align-items: center;
				margin-top: 24rpx;
				padding: 24rpx 18rpx;
				background-color: #ffffff;
				border-radius: 20rpx;
				.right{
					margin-left: 24rpx;
					.title{
						font-size: 30rpx;
						font-weight: 600;
						color: #333333;
					}
					.xx{
						margin-top: 18rpx;
						text{
							display: block;
							line-height: 44rpx;
							font-size: 26rpx;
							color: #666666;
						}
					}
				}
			}
		}
	}
</style>
